package com.zhou.bjgl.bjgl.business_web.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author jz
 * @since 2021-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BHoliday对象", description="")
public class BHoliday implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long studentId;

    private String reson;

    private Long collegeId;

    private Long classId;

    private String goArea;

    @ApiModelProperty(value = "1:抵达位置 0:没有抵达 3:返校销假 4:无法返校")
    private Integer checked;

    private Double latitude;

    private Double longitude;

    private String backArea;

    private Double backLatitude;

    private Double backLongitude;

    private String notBackReson;

    private String notArrivedReson;

    private Date startTime;

    private Date endTime;

    @ApiModelProperty(value = "1:同意 0:不同意")
    private Integer agree;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private Date delTime;

    @TableLogic
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer delStatus;


}
